home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / C / Code Resources / Jims CDEFs 1.50 / Documents / What's new in v1.40… < prev   
Encoding:
Text File  |  1995-08-31  |  3.4 KB  |  82 lines  |  [TEXT/ttxt]

  1. What's new in v1.40 of Jim's CDEFs
  2. ------------------------------------------------------------------------------
  3. This is the 5th release of these control definitions.  An amazing number of
  4. people have given me feedback on this collection, I apologize to them because
  5. I have failed to keep an accurate list of people to notify - when it passed 
  6. 100, I lost track.
  7.  
  8. But thanks for the feedback - it has been very much appreciated.
  9.  
  10. There have been many changes since I posted v1.30...
  11.  
  12. 0. The ID's of all the CDEFs have changed - increased by 1000 to get them
  13. out of the range reserved by Apple.  
  14.  
  15. 1. In this release, I got REALLY tired of gray backgrounds in dialogs.  I 
  16. have been seeing too many variations in Mac applications & System software.
  17. I've been spending too much time in Windows and OS/2, and perhaps it is
  18. because I live in Seattle... the gray dialogs are starting to look like
  19. the sky up here...
  20.  
  21. Anyway, I still prefer the good old white background in Macintosh dialogs,
  22. but I DO like a "3D effect".
  23.  
  24. So, I made most of the controls capable of a VERY subtle "3D effect" even
  25. when on a white background.
  26.  
  27. 2. I finally purchased a Power Mac (love it!) and have delved into the
  28. mysteries of "FAT" code resources.
  29.  
  30. All of the controls in the demoCDEF application (and the app itself) are
  31. now "FAT".  To be precise, the CDEFs are "SAFE, FAT and SHRINKING" code 
  32. resources produced with Symantec 8.0.1.  
  33.  
  34. Great job Colen!!
  35.  
  36. 3. I finally did some real work on the "cdef3D" (3D Buttons) CDEF.  It
  37. started life as a "quick & dirty" example, but I never really liked it.
  38.  
  39. Square-edged buttons look too much like those "other platforms" and do
  40. not work well with the oval outlines for default buttons on the Mac.
  41.  
  42. The push button in "3D Buttons" is now just like the standard oval buttons
  43. on the Mac, but with some subtle 3D shading.  They appear to work just
  44. fine with the default button outline.
  45.  
  46. By default, these draw in black & white with gray shadows, but a 'cctb'
  47. resource can be used to color them, just like the standard CDEF 0.  If
  48. you really want a colored button, add a 'cctb' resource (or change the
  49. source code).
  50.  
  51. If you want a button that matches the background color of the window
  52. it appears in (a gray button...), use variation code 4.
  53.  
  54. NOTE: Variation 4 used to be for "Tog Buttons".  That control exists
  55. now as a separate CDEF id=1104.
  56.  
  57. Radio buttons have the new "squishy" look as seen in the Develop 15 
  58. article.
  59.  
  60. There is also a compile switch that will produce a checkBox variation with
  61. a "real looking" check mark rather than a simple 'X' in the box.  CDEF id=0
  62. has the "real" check mark while CDEF id=1107 has the normal looking checkbox.
  63. Ditto for rectangular buttons - I have included a rectangular button as
  64. CDEF id=1111.
  65.  
  66. 4. I added a more versatile "Slider" control.  This one works as either a
  67. vertical or horizontal control, will accept any minimum/maximum values
  68. and has normal drawing for the body & thumb of the control rather than
  69. inline bitmaps.
  70.  
  71. If you don't like the appearance, simply change the way it draws, it is
  72. pretty straight forward code - as I said, no funky inline bitmaps.
  73.  
  74. 5. Added "DeviceLoop" drawing to some of the controls to insure that
  75. they draw better when spanning multiple devices of differing bit
  76. depths.  This works in System 6 too.
  77.  
  78. 6. I have cleaned up the code to the point that the CDEF's can be built
  79. with ThinkC 7, Symantec C 8.0.1, Metrowerks C (68k or PPC) or MPW C.
  80.  
  81. See the "About building CDEFs" document for more information.
  82.